package com.sc.outpatientsys.service;

import com.sc.outpatientsys.entity.Doctor;

import java.util.List;


public interface IDoctorService {
    void reg(Doctor doctor);
    Doctor login(String username,String password);
    void update(Doctor doctor);
    void delete(int dc_ID);
    Doctor findById(int dc_ID);
    Doctor findByName(String username);
    List<Doctor> findAll();
    void updateAccess(int dc_ID,int access);
    List<Doctor> findByClinic(String clinic);
}
